package com.wms.service;

import com.wms.entity.Resource;

import java.util.List;

public interface ResourceService extends BaseService<Resource> {

    void deleteById(Long id);

    Resource findById(Long id);

    List<Resource> findTree(Long roleId);

    List<Resource> getMenuByUsername(String username);
}
